@extends('frontend/layouts/default')

@section('content')

<h1>Show Car Maker</h1>

<p>
{{ link_to_route('car_balance.carmaker.index', 'Return to all Car Maker', null, array('class' => 'btn btn-info')) }}
&nbsp;&nbsp;
{{ link_to_route('car_balance.carmaker.create', 'Add new Car Maker', null, array('class' => 'btn btn-info')) }}
</p>

<table class="table table-striped table-bordered">
    <col width="35%">
    <col width="60%">
    <tbody>
         <tr> <th>Id</th> <td>{{ $carMaker->id }}</td> </tr> 
<tr> <th>Name</th> <td>{{ $carMaker->name }}</td> </tr> 
<tr> <th>Name2</th> <td>{{ $carMaker->name2 }}</td> </tr> 
<tr> <th>Code</th> <td>{{ $carMaker->code }}</td> </tr> 
<tr> <th>Node_parent</th> <td>{{ $carMaker->node_parent }}</td> </tr> 
<tr> <th>Node_left</th> <td>{{ $carMaker->node_left }}</td> </tr> 
<tr> <th>Node_right</th> <td>{{ $carMaker->node_right }}</td> </tr> 
<tr> <th>Node_depth</th> <td>{{ $carMaker->node_depth }}</td> </tr> 
<tr> <th>Node_flag</th> <td>{{ $carMaker->node_flag }}</td> </tr> 
        <tr><td colspan="2">
{{ Form::open(array('method' => 'DELETE', 'route' => array('car_balance.carmaker.destroy', $carMaker->id))) }}
{{ link_to_route('car_balance.carmaker.edit', 'Edit', $carMaker->id, array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
{{ Form::submit('Delete', array('class' => 'btn btn-danger')) }}
{{ Form::close() }}
        </td></tr>
    </tbody>
</table>

@stop